import request from '@/utils/request'

//查看查看隐私协议
export function selectGlobalXieYiById(data) {
    return request({
        url: '/api/global/selectGlobalXieYiById',
        method: 'post',
        data: data
    })
}

//修改隐私协议
export function updateGlobaXieYiById(data) {
    return request({
        url: '/api/global/updateGlobaXieYiById',
        method: 'post ',
        data: data
    })
}

//查询所有用户
export function selectAllUser(data) {
    return request({
        url: '/api/user/selectAllUser',
        method: 'post ',
        data: data
    })
}

//手机号密码登录
export function passwordLogin(data) {
    return request({
        url: '/api/user/passwordLogin',
        method: 'post ',
        data: data
    })
}


//用户名密码登录
